home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / corrects / corrects.sty < prev    next >
Text File  |  1993-01-11  |  2KB  |  46 lines

  1.  
  2. %%% CORRECTS.STY
  3. \typeout{Corrections style option for LaTeX, (c) Mike Piff, 07/22/92}
  4.  
  5. \newif\ifcorrections \correctionsfalse
  6. \newif\ifrealpage \realpagetrue
  7. \def\correctionsonly{%
  8.    \correctionstrue \realpagefalse}
  9. \def\currentstate#1#2#3{%
  10.    \setcounter{#1}{#2}%
  11.    \addtocounter{#1}{-1}%
  12.    \csname #1\endcsname{#3}\mbox{}}%
  13. \def\startpage#1{\npage{#1}%
  14.    \resetcounters}
  15. \def\startpageflushleft#1{\npage{#1}%
  16.    \noindent\resetcounters}
  17. \newcommand{\resetcounters}{\ignorespaces}
  18. \def\npage#1{\clearpage
  19.    \global\realpagetrue
  20.    \setcounter{page}{#1}}
  21. \def\endpageflushright{%
  22.    {\parfillskip0pt\par\pagebreak}}
  23. \def\endpage{\pagebreak}
  24. \def\anotherpageflushleft{%
  25.    \global\realpagetrue\noindent}
  26. \def\anotherpage{\global\realpagetrue}
  27. \def\morefootnotetext#1{\@bsphack{%
  28.    \def\@makefntext##1{\noindent ##1}%
  29.    \footnotetext{#1}}\@esphack}
  30. \let\@@outputpage\@outputpage
  31. \def\@outputpage{%
  32.    \ifrealpage\@@outputpage
  33.    \else\global\@specialpagefalse
  34.    \let\firstmark\botmark\fi
  35.    \ifcorrections\global\realpagefalse\fi}
  36. \endinput
  37. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  38. %% Dr M J Piff                      %%  e-mail:
  39. %% Department of Pure Mathematics   %%
  40. %% University of Sheffield          %%  M.Piff@sheffield.ac.uk
  41. %% Hicks Building                   %%
  42. %% Hounsfield Road                  %%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  43. %% SHEFFIELD S3 7RH                 %%  Telephone: SHEFFIELD (0742) 768555
  44. %% England                          %%             Ext. 4431
  45. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46.